package com.fy.module.repo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 试卷
 * </p>
 *
 * @author yang
 * @since 2023-03-22
 */
@TableName("el_paper")
@ApiModel(value = "Paper对象", description = "试卷")
public class Paper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("试卷ID")
    private String id;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("部门ID")
    private String departId;

    @ApiModelProperty("规则ID")
    private String examId;

    @ApiModelProperty("考试标题")
    private String title;

    @ApiModelProperty("考试时长")
    private Integer totalTime;

    @ApiModelProperty("用户时长")
    private Integer userTime;

    @ApiModelProperty("试卷总分")
    private Integer totalScore;

    @ApiModelProperty("及格分")
    private Integer qualifyScore;

    @ApiModelProperty("客观分")
    private Integer objScore;

    @ApiModelProperty("主观分")
    private Integer subjScore;

    @ApiModelProperty("用户得分")
    private Integer userScore;

    @ApiModelProperty("是否包含简答题")
    private Integer hasSaq;

    @ApiModelProperty("试卷状态")
    private Integer state;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("截止时间")
    private Date limitTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }
    public String getExamId() {
        return examId;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public Integer getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(Integer totalTime) {
        this.totalTime = totalTime;
    }
    public Integer getUserTime() {
        return userTime;
    }

    public void setUserTime(Integer userTime) {
        this.userTime = userTime;
    }
    public Integer getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }
    public Integer getQualifyScore() {
        return qualifyScore;
    }

    public void setQualifyScore(Integer qualifyScore) {
        this.qualifyScore = qualifyScore;
    }
    public Integer getObjScore() {
        return objScore;
    }

    public void setObjScore(Integer objScore) {
        this.objScore = objScore;
    }
    public Integer getSubjScore() {
        return subjScore;
    }

    public void setSubjScore(Integer subjScore) {
        this.subjScore = subjScore;
    }
    public Integer getUserScore() {
        return userScore;
    }

    public void setUserScore(Integer userScore) {
        this.userScore = userScore;
    }
    public Integer getHasSaq() {
        return hasSaq;
    }

    public void setHasSaq(Integer hasSaq) {
        this.hasSaq = hasSaq;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Date getLimitTime() {
        return limitTime;
    }

    public void setLimitTime(Date limitTime) {
        this.limitTime = limitTime;
    }

    @Override
    public String toString() {
        return "Paper{" +
            "id=" + id +
            ", userId=" + userId +
            ", departId=" + departId +
            ", examId=" + examId +
            ", title=" + title +
            ", totalTime=" + totalTime +
            ", userTime=" + userTime +
            ", totalScore=" + totalScore +
            ", qualifyScore=" + qualifyScore +
            ", objScore=" + objScore +
            ", subjScore=" + subjScore +
            ", userScore=" + userScore +
            ", hasSaq=" + hasSaq +
            ", state=" + state +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", limitTime=" + limitTime +
        "}";
    }
}
